package com.example.designpattern.observer;

/**
 * @author long
 */
public class JackObserver implements Observer{

    @Override
    public void update(double latestPrice) {
        System.out.println("jack接收到股票价格变化，最新价"+latestPrice);
    }

}
